﻿using GDM.Hogar.Controles.Properties;

namespace GDM.Hogar.Controles.ControlesPersonalizados.Grilla
{
    // Create a cell class to display the delete button cells. It is derived from the
    // abstract class DataGridViewImageButtonCell. The only method that has to be
    // implemented is LoadImages to load the Normal, Hot and Disabled Save images.
    public class DataGridViewImageButtonDeleteCell : DataGridViewImageButtonCell
    {
        public override void LoadImages()
        {
            // The normal delete image
            ButtonImageNormal = Resources.delete;

            // The disabled delete image
            ButtonImageDisabled = Resources.delete;

            // The hot delete image
            ButtonImageHot = Resources.delete;
        }
    }
}